﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CertificateGenerator
{
	public partial class AccountForm : Form
	{
		public string User
		{
			get
			{
				return this.textBox1.Text;
			}
		}
		public bool Exited
		{
			get;
			private set;
		}

		public AccountForm()
		{
			InitializeComponent();
			this.Exited = true;
		}

		private void button2_Click(object sender, EventArgs e)
		{
			this.Close();
		}

		private void button1_Click(object sender, EventArgs e)
		{
			if (string.IsNullOrEmpty(this.textBox1.Text))
			{
				MessageBox.Show("请赶写制单人");
			}
			else
			{
				this.Exited = false;
				this.Close();
			}
		}
	}
}
